home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
d
/
devpak
/
devpakv3.01kickstartv1.3b.dms
/
devpakv3.01kickstartv1.3b.adf
/
arp
/
prodocs
/
ArpAlloc
< prev
next >
Wrap
Text File
|
1991-11-20
|
935b
|
67 lines
ArpAlloc(31.0) ARP Programmers Manual ArpAlloc(31.0)
NAME
ArpAlloc - Allocate memory and track.
SYNOPSIS
Memory = ArpAlloc( size_in_bytes )
d0 d0
FUNCTION
Allocate public, cleared memory and track. This memory will
be automatically eased for you when you CloseLibrary() or
ArpExit().
INPUTS
size_in_bytes - Amount of memory required.
RESULT
Memory - Pointer to a memory block with attributes
MEMF_PUBLIC | MEMF_CLEAR) or NULL, if an error
occurred.
TRACKER - Pointer to the tracker in A1, or in the
LastTracker variable if calling from 'C'.
BUGS
None known.
REMEMBER
You must call CloseLibrary(ArpBase) or ArpExit() or
FreeTrackedItem( TRACKER ) to free this memory.
SEE ALSO
GetTracker(), FreeTrackedItem(), ArpExit(), OpenLibrary()
AUTHOR
SDB
Page 1 (printed 2/22/88)